import request from "@/utils/axios";
// 获取ppt
const make = (data: any) => {
  return request("/admin/pptgenerate/make", "POST", data);
};
// 登录
const login = (data: any) => {
  return request("/admin/login/login?account=ceshi2&password=12345678", "GET", data);
};
// 选择模板
const themelist = (data: any) => {
  return request("/admin/pptgenerate/themelist", "GET", data);
};
// 进度条查询
const pptProgress = (data: any) => {
  return request("/admin/pptgenerate/pptProgress", "GET", data);
};
// 查询生成模板
const list = (data: any) => {
  return request("/admin/pptgenerate/list", "GET", data);
};
// 删除
const remove = (data: any) => {
  return request("/admin/pptgenerate/remove", "GET", data);
};
// 生成大纲
const createOutline = (data: any) => {
  return request("/admin/pptgenerate/createOutline", "GET", data);
};

export {
  make,
  login,
  themelist,
  pptProgress,
  list,
  remove,
  createOutline
};
